home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / qdhelp.zip / QDHLPSRC.ZIP / TEXT.QDH < prev    next >
Text File  |  1994-03-28  |  4KB  |  130 lines

  1. //
  2. // text command
  3. //
  4.  
  5. /topic TEXT_COMMAND
  6.  
  7.     /title The /text command
  8.     /keywords /text;commands
  9.     /browse paracom,AUTO
  10.  
  11.     /para \sa300\b\i\fs40,The /text command
  12.     /endpara
  13.  
  14.     /para \sa150
  15.       The /text command has the following syntax:
  16.     /endpara
  17.  
  18.     /para \sa150
  19.       /text \b,/text 
  20.       /link TEXT_FORMAT_STRINGS,text format commmands
  21.       /text \b,, the text \line
  22.       or \line
  23.       /text \b,\{
  24.       /link TEXT_FORMAT_STRINGS,text format commands
  25.       /text \b, the text \}
  26.     /endpara
  27.  
  28.     /para \sa150
  29.       In the first syntax the format properties will be applied to 
  30.       the text found between the comma (,) and the end of the line 
  31.       which contains the /text command.
  32.     /endpara
  33.  
  34.     /para \sa150
  35.       In the second syntax the text format commands come first, then
  36.       the text {\b NO} comma in between.  The second syntax can be
  37.       used anywhere in the text string.  That is to say that it can
  38.       be used in the middle of a text string {\b\{ \\b for bold text\}} 
  39.       ya see!
  40.     /endpara
  41.  
  42. /endtopic
  43.  
  44. //
  45. // text format strings
  46. //
  47.  
  48. /topic TEXT_FORMAT_STRINGS,WIN31
  49.  
  50.     /title Text format strings
  51.     /keywords /text;format strings
  52.  
  53.     /para \sa300,\b\i\fs40,
  54.       Text format strings
  55.     /endpara
  56.  
  57.     /para \sa150
  58.       Following are strings that you can add to the /text
  59.       command to cause the string printed by the text command
  60.       to take on special properties.
  61.       The output of these effects will depend on the font
  62.       in use. Since these are really RTF commands you can put
  63.       any RTF text formatting command into this position.  These
  64.       are the most common:
  65.     /endpara
  66.  
  67.     /para
  68.       /link TEXT_FORMAT_EXAMPLES,Examples \line
  69.       \\tab \tab = \tab tab character \line
  70.       \\b \tab = \tab bold text \line
  71.       \\i \tab = \tab italic text \line
  72.       \\strike \tab = \tab strikethru text \line
  73.       \\f000 \tab = \tab
  74.       /link FONTS >second,font number
  75.       where 000 is the font of choice. \line
  76.       \\fs000 \tab = \tab font size in half points where 000 is the size.\line
  77.       \\ul \tab = \tab underline text \line
  78.       \\cf0 \tab = \tab
  79.       /link FOREGROUND_COLORS >second,foreground color value
  80.       where 0 is the color number of choice. \line
  81.     /endpara
  82.  
  83. /endtopic
  84.  
  85. //
  86. // text format examples
  87. //
  88.  
  89. /topic TEXT_FORMAT_EXAMPLES
  90.  
  91.     /para \sa150
  92.       The following are examples of different text formatting
  93.       commands that you can use.  It is important to note that
  94.       the help compiler uses certain sequences of commands to
  95.       signal links,popups etc.  Results of using these commands
  96.       on text will be unpredictable if you use a sequence that
  97.       help has defined for its own use. This should be a very
  98.       rare case.  Consult your help compiler manual to understand
  99.       the sequences used by the help engine.
  100.     /endpara
  101.  
  102.     /para 
  103.       Input: /text \\b, This is bold text \line
  104.       Output: 
  105.       /text \b,This is bold text \line\line
  106.       Input: /text \\i, This is italic text \line
  107.       Output:
  108.       /text \i,This is italic text \line\line
  109.       Input: /text \\strike,This is strikethrough text \line
  110.       Output: 
  111.       /text \strike,This is strikethrough text \line\line
  112.       Input: /text \\fs50,This is font size 50 text \line
  113.       Output:
  114.       /text \fs50,This is font size 50 text \line\line
  115.       Input: /text \\ul,This is underlined text \line
  116.       Output:
  117.       /text \ul,This is underlined text \line\line
  118.       /link FONTS,Press here if you want to see the fonts \line
  119.       /link FOREGROUND_COLORS,Press here to see the foreground colors \line
  120.     /endpara
  121.  
  122. /endtopic
  123.  
  124. /include fonts.qdh
  125.  
  126. /include tabs.qdh
  127.  
  128. /include colors.qdh
  129.  
  130.